package com.ruoyi.personnelMatters.domain;

import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class PositionChangeScanInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;
    //岗位扫描信息id
    private int personPositionChangeId;
    //用户id
    private Long userId;
    //员工姓名
    private String userName;
    //原先岗位id
    private Long oldPositionId;
    //修改后的岗位id
    private Long newPositionId;
    //原先岗位等级
    private Long oldPositionLevelId;
    //修改后的岗位等级
    private Long newPositionLevelId;
    //原先岗位信息(前端显示)
    private String oldPositionShowInfo;
    //原先岗位等级信息(前端显示)
    private String oldPositionLevelShowInfo;
    //修改后岗位信息(前端显示)
    private String newPositionShowInfo;
    //修改后位等级信息(前端显示)
    private String newPositionLevelShowInfo;
    //生效日期
    private Date positionChangeEffectiveDate;
    //创建日期
    private Date createTime;
    //是否执行过
    private int executed;

    public int getPersonPositionChangeId() {
        return personPositionChangeId;
    }

    public void setPersonPositionChangeId(int personPositionChangeId) {
        this.personPositionChangeId = personPositionChangeId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getOldPositionId() {
        return oldPositionId;
    }

    public void setOldPositionId(Long oldPositionId) {
        this.oldPositionId = oldPositionId;
    }

    public Long getNewPositionId() {
        return newPositionId;
    }

    public void setNewPositionId(Long newPositionId) {
        this.newPositionId = newPositionId;
    }

    public Date getPositionChangeEffectiveDate() {
        return positionChangeEffectiveDate;
    }

    public void setPositionChangeEffectiveDate(Date positionChangeEffectiveDate) {
        this.positionChangeEffectiveDate = positionChangeEffectiveDate;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getExecuted() {
        return executed;
    }

    public void setExecuted(int executed) {
        this.executed = executed;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getOldPositionLevelId() {
        return oldPositionLevelId;
    }

    public void setOldPositionLevelId(Long oldPositionLevelId) {
        this.oldPositionLevelId = oldPositionLevelId;
    }

    public Long getNewPositionLevelId() {
        return newPositionLevelId;
    }

    public void setNewPositionLevelId(Long newPositionLevelId) {
        this.newPositionLevelId = newPositionLevelId;
    }

    public String getOldPositionShowInfo() {
        return oldPositionShowInfo;
    }

    public void setOldPositionShowInfo(String oldPositionShowInfo) {
        this.oldPositionShowInfo = oldPositionShowInfo;
    }

    public String getOldPositionLevelShowInfo() {
        return oldPositionLevelShowInfo;
    }

    public void setOldPositionLevelShowInfo(String oldPositionLevelShowInfo) {
        this.oldPositionLevelShowInfo = oldPositionLevelShowInfo;
    }

    public String getNewPositionShowInfo() {
        return newPositionShowInfo;
    }

    public void setNewPositionShowInfo(String newPositionShowInfo) {
        this.newPositionShowInfo = newPositionShowInfo;
    }

    public String getNewPositionLevelShowInfo() {
        return newPositionLevelShowInfo;
    }

    public void setNewPositionLevelShowInfo(String newPositionLevelShowInfo) {
        this.newPositionLevelShowInfo = newPositionLevelShowInfo;
    }

    @Override
    public String toString() {
        return "PositionChangeScanInfo{" +
                "personPositionChangeId=" + personPositionChangeId +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", oldPositionId=" + oldPositionId +
                ", newPositionId=" + newPositionId +
                ", oldPositionLevelId=" + oldPositionLevelId +
                ", newPositionLevelId=" + newPositionLevelId +
                ", oldPositionShowInfo='" + oldPositionShowInfo + '\'' +
                ", oldPositionLevelShowInfo='" + oldPositionLevelShowInfo + '\'' +
                ", newPositionShowInfo='" + newPositionShowInfo + '\'' +
                ", newPositionLevelShowInfo='" + newPositionLevelShowInfo + '\'' +
                ", positionChangeEffectiveDate=" + positionChangeEffectiveDate +
                ", createTime=" + createTime +
                ", executed=" + executed +
                '}';
    }
}
